package com.example.admin.yuejian21.ViewHolder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.admin.yuejian21.R;

/**
 * Created by Admin on 2017/11/2.
 */

public class OrderViewHolder extends RecyclerView.ViewHolder {
    public ImageView orderView;
    public TextView orderidView;
    public TextView nameView;
    public TextView totalView;
    public TextView priceView;
    public TextView stView;
    public TextView timeView;
    public View itemview;
    public OrderViewHolder(View itemView) {
        super(itemView);
        orderView = (ImageView) itemView.findViewById(R.id.imageView2_order);

        orderidView = (TextView) itemView.findViewById(R.id.textView21_orderid);
        priceView = (TextView) itemView.findViewById(R.id.textView13_orderprice);
        totalView = (TextView) itemView.findViewById(R.id.textView16_totalprice);
        nameView=(TextView) itemView.findViewById(R.id.textView_ordername);
        timeView=(TextView)itemView.findViewById(R.id.ordertime);
        stView=(TextView) itemView.findViewById(R.id.textView_orderstate);
    }
}
